package com.hilaver.dzmis.exhibition.hibernate;

import java.sql.Blob;
import java.util.HashSet;
import java.util.Set;

/**
 * TechnicChart entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TechnicChart implements java.io.Serializable {

	// Fields

	private Integer id;
	private String reference;
	private Blob photo;
	private String photoName;
	private Double weight;
	private String comment;
	private Double diffCoefficient;
	private String needle;
	private Double cotation;
	private Set exOrderItems = new HashSet(0);
	private Set technicChartMaterial = new HashSet(0);

	// Constructors

	/** default constructor */
	public TechnicChart() {
	}

	/** minimal constructor */
	public TechnicChart(String reference, Double weight) {
		this.reference = reference;
		this.weight = weight;
	}

	/** full constructor */
	public TechnicChart(String reference, Blob photo, String photoName,
			Double weight, String comment, Double diffCoefficient,
			String needle, Double cotation, Set exOrderItems) {
		this.reference = reference;
		this.photo = photo;
		this.photoName = photoName;
		this.weight = weight;
		this.comment = comment;
		this.diffCoefficient = diffCoefficient;
		this.needle = needle;
		this.cotation = cotation;
		this.exOrderItems = exOrderItems;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getReference() {
		return this.reference;
	}

	public void setReference(String reference) {
		this.reference = reference;
	}

	public Blob getPhoto() {
		return this.photo;
	}

	public void setPhoto(Blob photo) {
		this.photo = photo;
	}

	public String getPhotoName() {
		return this.photoName;
	}

	public void setPhotoName(String photoName) {
		this.photoName = photoName;
	}

	public Double getWeight() {
		return this.weight;
	}

	public void setWeight(Double weight) {
		this.weight = weight;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Double getDiffCoefficient() {
		return this.diffCoefficient;
	}

	public void setDiffCoefficient(Double diffCoefficient) {
		this.diffCoefficient = diffCoefficient;
	}

	public String getNeedle() {
		return this.needle;
	}

	public void setNeedle(String needle) {
		this.needle = needle;
	}

	public Double getCotation() {
		return this.cotation;
	}

	public void setCotation(Double cotation) {
		this.cotation = cotation;
	}

	public Set getExOrderItems() {
		return this.exOrderItems;
	}

	public void setExOrderItems(Set exOrderItems) {
		this.exOrderItems = exOrderItems;
	}

	public Set getTechnicChartMaterial() {
		return technicChartMaterial;
	}

	public void setTechnicChartMaterial(Set technicChartMaterial) {
		this.technicChartMaterial = technicChartMaterial;
	}

}